package com.groupseven.happycampus.common.listener;

import lombok.Getter;


@Getter
public enum StatusCode {
    SUCCESS("成功",200),DEFAULT("失败",404),Exception("异常",500);

    private String name;

    private Integer code;

    StatusCode(String name, Integer code) {
        this.name = name;
        this.code = code;
    }
}
